mx5 clocks: Cleanup
authorBenoît Thébaudeau <[email protected]>
Thu, 27 Sep 2012 10:20:33 +0000 (10:20 +0000)
committerTom Rini <[email protected]>
Mon, 15 Oct 2012 18:54:10 +0000 (11:54 -0700)
commit846b38981f8014cc6562f3b89bef4c87cbc8ca2a
tree6292f19208bca1500625917d6e08774a074afee4
parent833b6435de3e8cf5b06ba81cb1b2b50e044269ff
mx5 clocks: Cleanup

Clean up the i.MX5 clock driver:
 - Use readl() and writel() instead of their __raw_ counterparts.
 - Use the clr/setbits_le32() family of macros rather than expanding code.
 - Use accessor macros for bit-fields instead of _MASK and _OFFSET.

Signed-off-by: Benoît Thébaudeau <[email protected]>
Cc: Stefano Babic <[email protected]>
arch/arm/cpu/armv7/mx5/clock.c
arch/arm/include/asm/arch-mx5/crm_regs.h